import axiosInstance from "@/plugins/axios";

export function login(data){
    console.log(data)
    return axiosInstance({
        url:'/login',
        method:'post',
        data
    })
}

export function register(data){
    console.log(data)
    return axiosInstance({
        url:'/register',
        method:'post',
        data
    })
}

export function logout(){
    return axiosInstance({
        url:'/logout',
        method:'post'
    })
}

